home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / bsrc_p2.arc / MAKEFILE < prev    next >
Encoding:
Text File  |  1988-11-30  |  4.3 KB  |  105 lines

  1. #--------------------------------------------------------------------------#
  2. #                                                                          #
  3. #                                                                          #
  4. #      ------------         Bit-Bucket Software <no-Inc>                   #
  5. #      \ 10001101 /         Writers and Distributors of                    #
  6. #       \ 011110 /          No-Cost<no-tm> Software.                       #
  7. #        \ 1011 /                                                          #
  8. #         ------            KopyRong (K) 1987.  ALL RIGHTS REVERSED.       #
  9. #                                                                          #
  10. #                                                                          #
  11. #                 Makefile for BinkleyTerm Version 1.20                    #
  12. #                                                                          #
  13. #                                                                          #
  14. #   This  software  package is being distributed WITH FULL SOURCE CODE     #
  15. #   with the  following  conditions:    1)  If  anything awful happens     #
  16. #   because  you  use    it   (or  don't  use  it),  you  accept  full     #
  17. #   responsibility;  2) you  don't start making tons of voice calls to     #
  18. #   the authors to complain or  make  suggestions  about enhancements,     #
  19. #   useful or otherwise;  3) you  do not reuse this code in commercial     #
  20. #   products without specific permission to do so  from  the  authors;     #
  21. #   4) If you find any problems you send  fixes  to  the  authors  for     #
  22. #   inclusion  in  updates;    5) You find some way  to  express  your     #
  23. #   appreciation  for  this  method of distribution, either by writing     #
  24. #   code or  application  notes,  or  just sending along a "Thank You"     #
  25. #   message.                                                               #
  26. #                                                                          #
  27. #   There is  copyrighted  code  in  this product.  We either wrote it     #
  28. #   ourselves or got  permission  to use it.  Please don't force us to     #
  29. #   pay a lawyer --  have some respect for our motives and don't abuse     #
  30. #   this "license".                                                        #
  31. #                                                                          #
  32. #                                                                          #
  33. #--------------------------------------------------------------------------#
  34.  
  35. #
  36. # Default C Compiler flags: 
  37. # Compile only, Small Model, Define "BINKLEY", ignore aliasing,
  38. # Optimize for space, Pack structures, No stack checking,
  39. # Include CodeView symbols.
  40. #
  41. CFLAGS = -c -AS -DBINKLEY -Oas -Gs -Zp -Zi
  42.  
  43. #
  44. # Object files that MSC (4.0 or 5.0) is responsible for generating:
  45. #
  46.  
  47. # First those for the main BinkleyTerm module
  48. #
  49. COBJS = bt.obj btconfig.obj timer.obj misc.obj b_help.obj \
  50.     mdm_proc.obj b_script.obj nodeproc.obj f_send.obj \
  51.     f_recv.obj b_bbs.obj b_session.obj \
  52.     b_yoohoo.obj b_wazoo.obj b_wzsend.obj \
  53.     ftsc.obj mailer.obj cdog.obj sched.obj fossil.obj \
  54.     b_passwo.obj b_frproc.obj xfermdm7.obj recvmdm7.obj \
  55.     zvars.obj zreceive.obj zsend.obj zmisc.obj
  56.  
  57. # Next those for BTCTL, the program that makes a dummy OMMM CTL file
  58. #
  59. COBJ1 = btctl.obj
  60.  
  61. #
  62. # Object files that MASM 4.0 is responsible for generating
  63. #
  64. MOBJS = opus_asm.obj kbd_asm.obj bink_asm.obj \
  65.     dostime.obj crc_asm.obj
  66.  
  67. #
  68. # Dependency list for regular and debug version, and LINK
  69. # command lines
  70. #
  71.  
  72. all:    bt.exe btctl.exe
  73.  
  74. bt.exe: $(COBJS) $(MOBJS)
  75.     LINK /EXEPACK $(COBJS) $(MOBJS),$*/STACK:3000,$*/MAP/LI;
  76.  
  77. bt-dbg.exe: $(COBJS) $(MOBJS)
  78.     LINK /CODEVIEW $(COBJS) $(MOBJS),$*/STACK:3000,$*/MAP/LI;
  79.  
  80. btctl.exe: $(COBJ1)
  81.     link $(COBJ1), $*/stack:3000,$*/map/li;
  82. #
  83. # Dependencies for .C files and compiler line to generate 'em.
  84. #
  85.  
  86. $(COBJS): $*.c com.h xfer.h opus.h keybd.h
  87.     cl $(CFLAGS) $*.c
  88.  
  89. $(COBJ1): $*.c com.h xfer.h opus.h keybd.h
  90.     cl $(CFLAGS) $*.c
  91. #
  92. # Modules with special includes here
  93. #
  94. timer.obj: timer.h
  95. sched.obj: sched.h
  96. mailer.obj: sched.h
  97. zreceive.obj: zmodem.h
  98. zsend.obj: zmodem.h
  99. zmisc.obj: zmodem.h
  100. #
  101. # Dependencies for .ASM files and compiler line to generate 'em.
  102. #
  103. $(MOBJS): $*.asm
  104.     masm $*;
  105.